﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Utils.Weixin.Models
{
    public class TraceWaybillInfo
    {
        /// <summary>
        /// 收件人手机号，部分运力需要用户手机号作为查单依据
        /// </summary>
        public string receiver_phone { get; set; }

        /// <summary>
        /// 运力id（运单号所属运力公司id，非必填，建议传入该参数，确保查询正确率。
        /// </summary>
        public string delivery_id { get; set; }

        /// <summary>
        /// 运单号
        /// </summary>
        public string waybill_id { get; set; }

        public GoodsListInfo goods_info { get; set; }

        /// <summary>
        /// 交易id
        /// </summary>
        public string trans_id { get; set; }

        /// <summary>
        /// 订单详情页
        /// </summary>
        public string order_detail_path { get; set; }
    }

    public class GoodsListInfo
    {
        public List<GoodsInfo> detail_list { get; set; }
    }

    public class GoodsInfo
    {
        public string goods_name { get; set; }

        public string goods_img_url { get; set; }
        public int detail_list { get; set; }
    }
}
